About CustomWindow
version: 1.0.0
last modified: August 9, 2000
A sample to demonstrate how to create a Custom Window under OS X.  Until now you had to create the window as a WDEF resource.  Now the code is simply compiled with the rest of your application within the same project.
Building the Code
The code was built using a standard Carbon Application(nib Based) project in project builder.
Restrictions
This is just a basic framework for a custom window with many of the routines defined as empty functions.  It only draws and defines an X shaped window structure and does not do anything with any of the controls associated with a window such as close, grow or zoom though these could be easily added.  It has no content region but this could also be easily modified.
Other Code Notes
none.
Known Bugs
none.
Possible Future Enhancements
Add code to empty functions to demonstrate how to add controls for closing, zooming, growing and minimizing.
Other Sources of Reference
http://developer.apple.com/techpubs/carbon/HumanInterfaceToolbox/WindowManager/windowmanager.html
Version History
6/28/00-Created
Credits
Karl Groethe
Apple Developer Technical Support